From abb25b7895fb900855e8b8885082ba8979c4f1ac Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 12 Oct 2010 11:01:10 -0400 Subject: [PATCH] docs: add a longdesc for X-specifics --- docs/reference/gdk/tmpl/x_interaction.sgml | 159 ++++----------------- 1 file changed, 27 insertions(+), 132 deletions(-) diff --git a/docs/reference/gdk/tmpl/x_interaction.sgml b/docs/reference/gdk/tmpl/x_interaction.sgml index 43fcc5a8b7..28fe886dd6 100644 --- a/docs/reference/gdk/tmpl/x_interaction.sgml +++ b/docs/reference/gdk/tmpl/x_interaction.sgml @@ -6,7 +6,17 @@ X backend-specific functions - +The functions in this section are specific to the GDK X11 backend. +To use them, you need to include the <gdk/gdkx.h> +header and use the X11-specific pkg-config files to build your application +(either gdk-x11-3.0 or gtk+-x11-3.0. +To make your code compile with other GDK backends, guard backend-specific +calls by an ifdef as follows: + +#ifdef GDK_WINDOWING_X11 + /* X11-specific calls here... */ +#endif + @@ -27,14 +37,6 @@ Obtains the Xlib window id of the root window of the current screen. - - -The current display. - - -@Returns: an Xlib Display*. - - Returns the display of a #GdkWindow. @@ -53,24 +55,6 @@ Returns the X window belonging to a #GdkWindow. @Returns: the Xlib Window of @win. - - -Returns the display of a #GdkPixmap. - - -@pix: a #GdkPixmap. -@Returns: an Xlib Display*. - - - - -Returns the X pixmap belonging to a #GdkPixmap. - - -@pix: a #GdkPixmap. -@Returns: the Xlib XPixmap of @win. - - Returns the display of a #GdkDisplay. @@ -97,24 +81,6 @@ Returns the X resource (window or pixmap) belonging to a #GdkDrawable. @Returns: the ID of @win's X resource. - - -Returns the display of a #GdkColormap. - - -@cmap: a #GdkColormap. -@Returns: an Xlib Display*. - - - - -Returns the X colormap belonging to a #GdkColormap. - - -@cmap: a #GdkColormap. -@Returns: an Xlib Colormap. - - Returns the display of a #GdkScreen. @@ -143,15 +109,6 @@ Returns the screen of a #GdkScreen. @Returns: an Xlib Screen*. - - -Returns the X visual belonging to a #GdkVisual. - - -@vis: a #GdkVisual. -@Returns: an Xlib Visual*. - - Returns the X cursor belonging to a #GdkCursor. @@ -186,38 +143,6 @@ Another name for GDK_DRAWABLE_XID(). @Returns: - - - - - -@anid: -@Returns: - - - - - - - -@display: -@anid: -@Returns: - - - - - - - -@screen: -@anid: -@width: -@height: -@depth: -@Returns: - - @@ -274,24 +199,6 @@ Another name for GDK_DRAWABLE_XID(). @Returns: - - - - -@anid: -@Returns: - - - - - - - -@display: -@anid: -@Returns: - - @@ -384,34 +291,6 @@ Another name for GDK_DRAWABLE_XID(). @Returns: - - - - - -@visual: -@xcolormap: -@Returns: - - - - - - - -@colormap: -@Returns: - - - - - - - -@colormap: -@Returns: - - @@ -474,6 +353,22 @@ Another name for GDK_DRAWABLE_XID(). @display: + + + + + +@display: + + + + + + + +@display: + + -- 2.30.2